package com.monkey.apiboss.service;

import com.monkey.apiboss.remote.ServiceDriverUserClient;
import com.monkey.internalcommon.dto.DriverUser;
import com.monkey.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author tao
 * @date 2022/7/27 20:03
 */
@Service
public class DriverUserService {

    @Autowired
    private ServiceDriverUserClient serviceDriverUserClient;

    public ResponseResult addDriverUser(DriverUser driverUser) {
        return serviceDriverUserClient.addDriverUser(driverUser);
    }
}
